package edu.guet.cn.blogbasics.mapper;

import edu.guet.cn.blogbasics.entity.Worksheet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hejianding
 * @since 2021-04-23
 */
@Repository
public interface WorksheetMapper extends BaseMapper<Worksheet> {

    List<Worksheet> selectWorksheetByUserName(String userName);

    void updateWorksheet(Worksheet worksheet);

    void deleteWorksheet(Worksheet worksheet);
}
